package com.gzyct.m.api.common.sign;

import org.springframework.stereotype.Component;

import com.gzyct.m.api.common.partner.PartnerService;

@Component
public class DefaultSignKeyStore implements SignKeyStore {

	@Override
	public String getSignKey(String channelCode, SignType signType) throws Exception {
		return getSignKey(channelCode, signType.toString());
	}

	@Override
	public String getSignKey(String channelCode, String signType) throws Exception {
		return PartnerService.getSignKey(channelCode, signType);
	}

	@Override
	public void refresh() {
		// TODO 自动生成的方法存根

	}

}
